import React from 'react'
import ReactDOM from 'react-dom/client'
import App from './App'
import { ConfigProvider} from 'antd';
import { BrowserRouter } from 'react-router-dom'
import 'antd/dist/reset.css';
import zhCN from 'antd/es/locale/zh_CN';
import { Provider } from 'react-redux';
import store from './store'
ReactDOM.createRoot(document.getElementById('root')).render(
  <React.StrictMode>
    <BrowserRouter>
    <Provider store = {store} >
    <ConfigProvider locale={zhCN}>
      <App />
    </ConfigProvider>
    </Provider>
    </BrowserRouter>
  </React.StrictMode>
)
